package com.hangzhou.welbeing.welbeinginstrument.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;

import com.hangzhou.welbeing.welbeinginstrument.R;
import com.hangzhou.welbeing.welbeinginstrument.utils.Utils;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 时间 2017 年 08 月 27 日
 * 作者  Z2043 welbeing to hangzou com.hangzhou.welbeing.pregnant.welbeing_pregnant.activity
 *
 * @desc 图片和视频编辑
 */
public class PhotoAndVideoEditingActivity extends Activity {
    @Bind(R.id.activity_phone_and_video_editing_iv_phon_editing)
    ImageView mActivityPhoneAndVideoEditingIvPhonEditing;
    @Bind(R.id.activity_phone_and_video_editing_rl_phon_editing)
    RelativeLayout mActivityPhoneAndVideoEditingRlPhonEditing;
    @Bind(R.id.activity_phone_and_video_editing_iv_video_editing)
    ImageView mActivityPhoneAndVideoEditingIvVideoEditing;
    @Bind(R.id.activity_phone_and_video_editing_rl_video_editing)
    RelativeLayout mActivityPhoneAndVideoEditingRlVideoEditing;
    @Bind(R.id.activity_phone_and_video_editing_Shut_down_error)
    ImageView mActivityPhoneAndVideoEditingShutDownError;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_phone_and_video_editing);
        ButterKnife.bind(this);


        Utils.setStatusBar(this,false,false);
        Utils.setStatusTextColor(true,this);

    }

    @OnClick({R.id.activity_phone_and_video_editing_rl_phon_editing, R.id.activity_phone_and_video_editing_rl_video_editing, R.id.activity_phone_and_video_editing_Shut_down_error})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.activity_phone_and_video_editing_rl_phon_editing:
               Intent intent =  new Intent(PhotoAndVideoEditingActivity.this,EditingActivity.class);
                startActivity(intent);
                finish();
                break;
            case R.id.activity_phone_and_video_editing_rl_video_editing:
                Intent intent1 =  new Intent(PhotoAndVideoEditingActivity.this,EditingActivity.class);
                startActivity(intent1);
                finish();
                break;
            case R.id.activity_phone_and_video_editing_Shut_down_error:
                finish();
                break;
        }
    }
}
